<!DOCTYPE html>
<html>
<head>
    <title>卓远网络-工单</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>
    <link href="__TMPL__/public/assets/css/slippry/slippry.css" rel="stylesheet">
     <link href="__TMPL__/public/assets/gongdan/css/style.css" rel="stylesheet">
    
    <!-- Bootstrap -->

    <style>
		.container{
			
		}
        .caption-wraper {
            position: absolute;
            left: 50%;
            bottom: 2em;
        }

        .caption-wraper .caption {
            position: relative;
            left: -50%;
            background-color: rgba(0, 0, 0, 0.54);
            padding: 0.4em 1em;
            color: #fff;
            -webkit-border-radius: 1.2em;
            -moz-border-radius: 1.2em;
            -ms-border-radius: 1.2em;
            -o-border-radius: 1.2em;
            border-radius: 1.2em;
        }

        .tc-gridbox {
            margin: 0;
        }

        @media (max-width: 767px) {
            .caption-wraper {
                left: 0;
                bottom: 0.4em;
            }

            .caption-wraper .caption {
                left: 0;
                padding: 0.2em 0.4em;
                font-size: 0.92em;
                -webkit-border-radius: 0;
                -moz-border-radius: 0;
                -ms-border-radius: 0;
                -o-border-radius: 0;
                border-radius: 0;
            }
        }

    </style>
    <hook name="before_head_end"/>
</head>
<body class="body-white">
<include file="public@nav"/>
<div style="padding-top: 100px;"> </div>
<div class="container tc-main">
<div class="row">
      <div class="col-lg-12 col-md-7 col-sm-12 col-xs-12">
       <div  class="row" style="margin-bottom: 35px;">
			<div class="col-md-6"><h3 class="fl mt10">我的工单（{$wd}）</h3></div>
  			<div class="col-md-6">
            	<a type="button" class=" btn btn-info" style="border-radius: 25px;float: right" href="gongdan_add.html"><span class="glyphicon glyphicon-plus pr10"></span>创建新工单</a>
        	</div>
   		</div>
   		<?php if(!$info){?>
   		<div  class="row">
   		<div class="text-center gd-mygd">
   			<h1>您还没创建过工单</h1>
   		</div>
   		</div>
   		<?php } ?>
   		<?php if($info){?>
   		<?php foreach($info as $list){?>
   		<div class="row" style="border:1px solid #007B00;padding-bottom: 10px;margin-bottom: 20px;">
   			<div class="col-md-12">
				<a href="{:url('portal/index/gongdan_xq','id='.$list.id)}"><h4 class="gd-wz1" style=" border-bottom: 1px solid #ccc;height: 50px;line-height: 50px; color: #279AFF ;text-indent: 5px;"><span style="font-weight: 800;">工单主题: </span>{$list['title']}</h4></a>
				<div style="margin: 25px 0px 10px;">
					<span class="gd-tj2" >{$list['type']}</span>
				</div>
				
   			</div>

   			<div class="col-md-12">

   			  <div class="gd-wz2" style="color:# 8f8f8f">{$list['content']}</div>
			  <i class="gd-wz3">{:date('Y-m-d H:i:s',$list['add_time'])}</i>

			    <?php if($list['kh_xiaoxi']==1){ ?>
				<div  style="margin-right: 30px;color:green;float: right">新消息</div>
				<?php } ?>
				
				
				<?php if($list['kh_xiaoxi']==2){ ?>
				<div  style="margin-right: 30px;color:silver;float: right">无新消息</div>
				<?php } ?>
				
 				<?php if($list['status']==1){ ?>
  				<div  style="margin-right: 30px;color:red;float: right">

  				处理中	

  				</div>
  				<?php } ?>
  				
  				<?php if($list['status']==2){ ?>
  				<div  style="margin-right: 30px;color:#bbb;float: right">

  				已关闭

  				</div>
  				<?php } ?>

   			</div>
 
   		</div>
        <?php } ?>
        <?php } ?>
    <include file="public@footer"/>
</div>
</div>
</div>

<!-- /container -->
<include file="public@scripts"/>

<script>
    $(function () {
        $("#home-slider").slippry({
            transition: 'fade',
            useCSS: true,
            captions: false,
            speed: 1000,
            pause: 3000,
            auto: true,
            preload: 'visible'
        });
        $("#home-slider").show();
    });
</script>
<script src="__TMPL__/public/assets/js/slippry.min.js"></script>
<hook name="before_body_end"/>
</body>
</html>